import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import iView from 'iview';
import 'element-ui/lib/theme-chalk/index.css';
import 'iview/dist/styles/iview.css';
import axios from 'axios'
/* import VueSocketio from 'vue-socket.io'; */
Vue.use(ElementUI);
Vue.use(iView);
/* Vue.use(new VueSocketio({
  debug: true,
  connection: 'http://localhost:3003' //地址+端口，由后端提供
})); */
//axios.defaults.baseURL = '' //当打包时将url设置为/api交给代理服务器
Vue.config.productionTip = false
Vue.prototype.$axios = axios
//axios.defaults.baseURL = '' //当打包时将url设置为/api交给代理服务器
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
